// pages/video/video.js
import request from "../../utils/request";

Page({

    /**
     * 页面的初始数据
     */
    data: {
        videoGroupList: [],//导航标签数据
        navId: '',         //导航标识
        videoList: [],     //视频列表数据
        videoId: '', // 视频id标识
        videoUpdateTime:[],//记录video播放的时长
        isTriggered:false,//标识下拉刷新是否被触发
    },

    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function (options) {
        //方法调用
        this.getVideoGroupListData();

    },
    //跳转至搜索页面
    toSearch(){
        wx.navigateTo({
            url:'/pages/search/search'
        })
    },
    //获取导航数据
    async getVideoGroupListData() {
        let videoGroupListData = await request('/video/group/list');
        this.setData({
            videoGroupList: videoGroupListData.data.slice(0, 14),
            navId: videoGroupListData.data[0].id
        })
        //get 视频列表数据
        await this.getVideoList(this.data.navId)
    },
    //get 视频列表数据
    async getVideoList(navId) {
        if (!navId) {
            return;
        }
        let videoListData = await request('/video/group', {id: navId});
        //关闭消息提示框
        wx.hideLoading();
        let index = 0;
        let videoList = videoListData.datas.map(item => {
            item.id = index++;
            return item
        })
        this.setData({
            videoList,
            isTriggered:false        //关闭下拉刷新

        })
    },

    //点击切换导航的回调
    changeNav(event) {
        //通过id向event传参的时候如果传的是number会自动转换成string
        let navId = event.currentTarget.id;
        this.setData({
            navId: navId * 1,
            videoList: []
        })
        wx.showLoading({
            title: '正在加载'
        });
        //动态获取当前导航对应的视频数据
        this.getVideoList(this.data.navId);
    },

    //点击播放/继续播放的回调
    handlePlay(event){
    /*
    *需求
    *   1：在点击播放时间中需要找到上一个播放的视频
    *   2：在播放新的视频之前关闭上一个正在播放的视频
    * 关键：
    *   1：如何找到上一个视频的实例对象
    *   2：如何确定点击的播放视频和正在播放的视频不是同一个视频
    * 单例模式
    *   1：需要创建多个对象的场景下，通过一个变量接受，始终保持只有一个对象
    *   2：节省内存空间
    * */
        let vid = event.currentTarget.id;
        //关闭上一个播放的视频实例
       // this.vid !== vid && this.videoContext && this.videoContext.stop();
       // if(this.vid !== vid){
       //     if(this.videoContext){
       //         this.videoContext.stop()
       //     }
       // }
       // this.vid = vid;
        this.setData({
            videoId:vid
        })
     //创建控制video标签的实例对象
        this.videoContext = wx.createVideoContext(vid);
        //判断当前的视频之前是否播放过，是否有播放记录，如果有，跳转至该记录
        let {videoUpdateTime} = this.data;
        let videoItem = videoUpdateTime.find(item=>item.vid === vid);
        if(videoItem){
            this.videoContext.seek(videoItem.currentTime);
        }
        this.videoContext.play();
    },

    //监听视频播放进度的回调
    handleTimeUpdate(event){
        // console.log(event);
        let videoTimeObj = {vid: event.currentTarget.id, currentTime:event.detail.currentTime};
        let {videoUpdateTime} = this.data;
        /*判断记录播放时长的videoUpdateTime数组中是否有当前视频的播放记录
        *   1.如果有，再原有的播放记录上修改播放时间为当前的播放时间
        *   2.如果没有，需要再数组中添加当前视频的播放对象
        * */
        let videoItem = videoUpdateTime.find(item=>item.vid === videoTimeObj.vid);
        if(videoItem){
            videoItem.currentTime = event.detail.currentTime;
        }else{
            videoUpdateTime.push(videoTimeObj);
        }
        this.setData({
            videoUpdateTime
        })
    },
    //视频播放结束调用
    handleEnded(event){
        //移除记录播放时长数组中当前视频的对象
        let {videoUpdateTime} = this.data;
        videoUpdateTime.splice(videoUpdateTime.findIndex(item=>item.vid === event.currentTarget.id), 1);
        this.setData({
            videoUpdateTime
        })
    },

    //自定义上拉拉刷新的回调：scroll-view
    handleRefresher(){
        //再次发请求，获取视频列表数据
         this.getVideoList(this.data.navId);
    },

    //自定义下拉刷新的回调：scroll-view
    handleToLower(){
        //数据分页：1：后端分页  2：前端分页
        // console.log('发送请求 || 在前端截取最新的数据  最佳到视频列表的后方');
        // console.log('网易云音乐暂时没有提供分页的api');
        let newVideoList = [
                {
                    "type": 1,
                    "displayed": false,
                    "alg": "onlineHotGroup",
                    "extAlg": null,
                    "data": {
                        "alg": "onlineHotGroup",
                        "scm": "1.music-video-timeline.video_timeline.video.181017.-295043608",
                        "threadId": "R_VI_62_A598153ABC9B0883B15D17FFA8A65CD3",
                        "coverUrl": "https://p2.music.126.net/nhxne3RCLB6JPhl_puRLQQ==/109951163574229344.jpg",
                        "height": 1080,
                        "width": 1920,
                        "title": "权志龙最洗脑的一首个人单曲，前奏一响全场就燃了，超嗨",
                        "description": "权志龙最洗脑的一首个人单曲《Crooked》，前奏一响全场就燃了，现场气氛超嗨！",
                        "commentCount": 4440,
                        "shareCount": 7042,
                        "resolutions": [
                            {
                                "resolution": 240,
                                "size": 28407420
                            },
                            {
                                "resolution": 480,
                                "size": 47566397
                            },
                            {
                                "resolution": 720,
                                "size": 70273554
                            },
                            {
                                "resolution": 1080,
                                "size": 96210413
                            }
                        ],
                        "creator": {
                            "defaultAvatar": false,
                            "province": 340000,
                            "authStatus": 0,
                            "followed": false,
                            "avatarUrl": "http://p1.music.126.net/C6VID_CReqmt8ETsUWaYTQ==/18499283139231828.jpg",
                            "accountStatus": 0,
                            "gender": 0,
                            "city": 340100,
                            "birthday": -2209017600000,
                            "userId": 479954154,
                            "userType": 207,
                            "nickname": "音乐诊疗室",
                            "signature": "当我坐在那架破旧古钢琴旁边的时候，我对最幸福的国王也不羡慕。（合作推广请私信，或者+V信：mjs927721）",
                            "description": "",
                            "detailDescription": "",
                            "avatarImgId": 18499283139231828,
                            "backgroundImgId": 1364493978647983,
                            "backgroundUrl": "http://p1.music.126.net/i4J_uvH-pb4sYMsh4fgQAA==/1364493978647983.jpg",
                            "authority": 0,
                            "mutual": false,
                            "expertTags": null,
                            "experts": {
                                "1": "音乐视频达人",
                                "2": "音乐资讯达人"
                            },
                            "djStatus": 0,
                            "vipType": 11,
                            "remarkName": null,
                            "backgroundImgIdStr": "1364493978647983",
                            "avatarImgIdStr": "18499283139231828"
                        },
                        "urlInfo": {
                            "id": "A598153ABC9B0883B15D17FFA8A65CD3",
                            "url": "http://vodkgeyttp9.vod.126.net/vodkgeyttp8/knBXaFpg_1915571084_uhd.mp4?ts=1651912569&rid=CD030FAB126B0A8BA93BC93714A31001&rl=3&rs=ikpjNNERZGRHPvXxDMvQTErOcPnHpiyB&sign=061e94ea17e30590458b8f9c29fcb3eb&ext=fL9Ryr7Xk7zqsQNShjoANxnVXKdor9o1xp2xQIhwNYnqKFOFuxE6EeyKXfvDMmSYkyhW%2F53twzBrhhUa%2Ff%2BkZW1YyjteqVLm4bnfBbHzhdfkznXSk6qKMG5eq2dRwNlc4fCmPy8vlH7By34aR2xjbrpNHscNzm9P%2FNuhuYQ7lbdRsjeV7ZGNbExJ0uqln2%2BYqXpa%2F2AwNIHje3eIEU%2FjjqjRTWWPBgqdsHr2PlG7KohSHyKdWth0k0UrJeMwYqlw",
                            "size": 96210413,
                            "validityTime": 1200,
                            "needPay": false,
                            "payInfo": null,
                            "r": 1080
                        },
                        "videoGroup": [
                            {
                                "id": 58100,
                                "name": "现场",
                                "alg": null
                            },
                            {
                                "id": 57107,
                                "name": "韩语现场",
                                "alg": null
                            },
                            {
                                "id": 57108,
                                "name": "流行现场",
                                "alg": null
                            },
                            {
                                "id": 59108,
                                "name": "巡演现场",
                                "alg": null
                            },
                            {
                                "id": 10114,
                                "name": "BIGBANG",
                                "alg": null
                            },
                            {
                                "id": 1100,
                                "name": "音乐现场",
                                "alg": null
                            },
                            {
                                "id": 5100,
                                "name": "音乐",
                                "alg": null
                            }
                        ],
                        "previewUrl": null,
                        "previewDurationms": 0,
                        "hasRelatedGameAd": false,
                        "markTypes": null,
                        "relateSong": [],
                        "relatedInfo": null,
                        "videoUserLiveInfo": null,
                        "vid": "A598153ABC9B0883B15D17FFA8A65CD3",
                        "durationms": 227510,
                        "playTime": 9867998,
                        "praisedCount": 63094,
                        "praised": false,
                        "subscribed": false
                    }
                },
                {
                    "type": 1,
                    "displayed": false,
                    "alg": "onlineHotGroup",
                    "extAlg": null,
                    "data": {
                        "alg": "onlineHotGroup",
                        "scm": "1.music-video-timeline.video_timeline.video.181017.-295043608",
                        "threadId": "R_VI_62_AE6410B498DB30566FC046CF0EFCB181",
                        "coverUrl": "https://p2.music.126.net/HwXyibsizxUoYTJHwMpfVw==/109951163842045923.jpg",
                        "height": 720,
                        "width": 1280,
                        "title": "难怪是王牌了！李玉树、薛之谦合唱《一半》绝对的耳朵震",
                        "description": "",
                        "commentCount": 165,
                        "shareCount": 170,
                        "resolutions": [
                            {
                                "resolution": 240,
                                "size": 14277715
                            },
                            {
                                "resolution": 480,
                                "size": 23588085
                            },
                            {
                                "resolution": 720,
                                "size": 29777536
                            }
                        ],
                        "creator": {
                            "defaultAvatar": false,
                            "province": 140000,
                            "authStatus": 0,
                            "followed": false,
                            "avatarUrl": "http://p1.music.126.net/lg3L-MsSqQgLWBPJdG0DdQ==/18737877160575651.jpg",
                            "accountStatus": 0,
                            "gender": 2,
                            "city": 140200,
                            "birthday": 860108466455,
                            "userId": 98002620,
                            "userType": 0,
                            "nickname": "裙子太短尾巴藏不住了",
                            "signature": "人情有如红梅白雪，世事不过净水清风",
                            "description": "",
                            "detailDescription": "",
                            "avatarImgId": 18737877160575652,
                            "backgroundImgId": 18811544441415708,
                            "backgroundUrl": "http://p1.music.126.net/ZgImVrbBzRRMPOuTh8iKIw==/18811544441415709.jpg",
                            "authority": 0,
                            "mutual": false,
                            "expertTags": null,
                            "experts": {
                                "1": "音乐视频达人"
                            },
                            "djStatus": 10,
                            "vipType": 11,
                            "remarkName": null,
                            "backgroundImgIdStr": "18811544441415709",
                            "avatarImgIdStr": "18737877160575651"
                        },
                        "urlInfo": {
                            "id": "AE6410B498DB30566FC046CF0EFCB181",
                            "url": "http://vodkgeyttp9.vod.126.net/vodkgeyttp8/u7dm8nIH_2299857974_shd.mp4?ts=1651912569&rid=CD030FAB126B0A8BA93BC93714A31001&rl=3&rs=rkRUmNrYRMsRQdHdDKCvfBNgPVWiVRgK&sign=07d409707107211f669361f5e0235244&ext=fL9Ryr7Xk7zqsQNShjoANxnVXKdor9o1xp2xQIhwNYnqKFOFuxE6EeyKXfvDMmSYkyhW%2F53twzBrhhUa%2Ff%2BkZW1YyjteqVLm4bnfBbHzhdfkznXSk6qKMG5eq2dRwNlc4fCmPy8vlH7By34aR2xjbrpNHscNzm9P%2FNuhuYQ7lbdRsjeV7ZGNbExJ0uqln2%2BYqXpa%2F2AwNIHje3eIEU%2FjjqjRTWWPBgqdsHr2PlG7KohSHyKdWth0k0UrJeMwYqlw",
                            "size": 29777536,
                            "validityTime": 1200,
                            "needPay": false,
                            "payInfo": null,
                            "r": 720
                        },
                        "videoGroup": [
                            {
                                "id": 58100,
                                "name": "现场",
                                "alg": null
                            },
                            {
                                "id": 60100,
                                "name": "翻唱",
                                "alg": null
                            },
                            {
                                "id": 57111,
                                "name": "中文翻唱",
                                "alg": null
                            },
                            {
                                "id": 59111,
                                "name": "素人草根",
                                "alg": null
                            },
                            {
                                "id": 1100,
                                "name": "音乐现场",
                                "alg": null
                            },
                            {
                                "id": 12100,
                                "name": "流行",
                                "alg": null
                            },
                            {
                                "id": 5100,
                                "name": "音乐",
                                "alg": null
                            },
                            {
                                "id": 24129,
                                "name": "薛之谦",
                                "alg": null
                            }
                        ],
                        "previewUrl": null,
                        "previewDurationms": 0,
                        "hasRelatedGameAd": false,
                        "markTypes": null,
                        "relateSong": [
                            {
                                "name": "一半",
                                "id": 35528482,
                                "pst": 0,
                                "t": 0,
                                "ar": [
                                    {
                                        "id": 5781,
                                        "name": "薛之谦",
                                        "tns": [],
                                        "alias": []
                                    }
                                ],
                                "alia": [],
                                "pop": 100,
                                "st": 0,
                                "rt": null,
                                "fee": 0,
                                "v": 20,
                                "crbt": null,
                                "cf": "",
                                "al": {
                                    "id": 3316028,
                                    "name": "一半",
                                    "picUrl": "http://p3.music.126.net/-4u_k5sKW52e62y52HCKmQ==/3350211931098346.jpg",
                                    "tns": [],
                                    "pic": 3350211931098346
                                },
                                "dt": 286000,
                                "h": {
                                    "br": 320000,
                                    "fid": 0,
                                    "size": 11442721,
                                    "vd": -43941
                                },
                                "m": {
                                    "br": 192000,
                                    "fid": 0,
                                    "size": 6865650,
                                    "vd": -41365
                                },
                                "l": {
                                    "br": 128000,
                                    "fid": 0,
                                    "size": 4577115,
                                    "vd": -39819
                                },
                                "a": null,
                                "cd": "1",
                                "no": 1,
                                "rtUrl": null,
                                "ftype": 0,
                                "rtUrls": [],
                                "djId": 0,
                                "copyright": 2,
                                "s_id": 0,
                                "cp": 14026,
                                "mv": 499014,
                                "rtype": 0,
                                "rurl": null,
                                "mst": 9,
                                "publishTime": 1445184000007,
                                "privilege": {
                                    "id": 35528482,
                                    "fee": 0,
                                    "payed": 0,
                                    "st": 0,
                                    "pl": 320000,
                                    "dl": 999000,
                                    "sp": 7,
                                    "cp": 1,
                                    "subp": 1,
                                    "cs": false,
                                    "maxbr": 999000,
                                    "fl": 320000,
                                    "toast": false,
                                    "flag": 0,
                                    "preSell": false
                                }
                            }
                        ],
                        "relatedInfo": null,
                        "videoUserLiveInfo": null,
                        "vid": "AE6410B498DB30566FC046CF0EFCB181",
                        "durationms": 120141,
                        "playTime": 591637,
                        "praisedCount": 3079,
                        "praised": false,
                        "subscribed": false
                    }
                },
                {
                    "type": 1,
                    "displayed": false,
                    "alg": "onlineHotGroup",
                    "extAlg": null,
                    "data": {
                        "alg": "onlineHotGroup",
                        "scm": "1.music-video-timeline.video_timeline.video.181017.-295043608",
                        "threadId": "R_VI_62_829B0D08CAF49FBF50030F283C7F9E43",
                        "coverUrl": "https://p2.music.126.net/OSaXjy_FDlezkEvijrqHOw==/109951163856852940.jpg",
                        "height": 720,
                        "width": 1280,
                        "title": "汪峰《光明》“也寻迷途的惆怅，回扯碎我的脚步，可我相信未来”",
                        "description": null,
                        "commentCount": 199,
                        "shareCount": 1045,
                        "resolutions": [
                            {
                                "resolution": 240,
                                "size": 35748687
                            },
                            {
                                "resolution": 480,
                                "size": 63086818
                            },
                            {
                                "resolution": 720,
                                "size": 98367931
                            }
                        ],
                        "creator": {
                            "defaultAvatar": false,
                            "province": 110000,
                            "authStatus": 0,
                            "followed": false,
                            "avatarUrl": "http://p1.music.126.net/SUeqMM8HOIpHv9Nhl9qt9w==/109951165647004069.jpg",
                            "accountStatus": 0,
                            "gender": 0,
                            "city": 110101,
                            "birthday": -2209017600000,
                            "userId": 1471152177,
                            "userType": 0,
                            "nickname": "哔哔剧有料",
                            "signature": "",
                            "description": "",
                            "detailDescription": "",
                            "avatarImgId": 109951165647004060,
                            "backgroundImgId": 109951162868128400,
                            "backgroundUrl": "http://p1.music.126.net/2zSNIqTcpHL2jIvU6hG0EA==/109951162868128395.jpg",
                            "authority": 0,
                            "mutual": false,
                            "expertTags": null,
                            "experts": null,
                            "djStatus": 0,
                            "vipType": 0,
                            "remarkName": null,
                            "backgroundImgIdStr": "109951162868128395",
                            "avatarImgIdStr": "109951165647004069"
                        },
                        "urlInfo": {
                            "id": "829B0D08CAF49FBF50030F283C7F9E43",
                            "url": "http://vodkgeyttp9.vod.126.net/vodkgeyttp8/HVcD5p4u_2311122213_shd.mp4?ts=1651912569&rid=CD030FAB126B0A8BA93BC93714A31001&rl=3&rs=RJbgqOrboVsDBBInbGxGsShfvSdwMjpm&sign=583a94817fbaf89a2873415584d19e3f&ext=fL9Ryr7Xk7zqsQNShjoANxnVXKdor9o1xp2xQIhwNYnqKFOFuxE6EeyKXfvDMmSYkyhW%2F53twzBrhhUa%2Ff%2BkZW1YyjteqVLm4bnfBbHzhdfkznXSk6qKMG5eq2dRwNlc4fCmPy8vlH7By34aR2xjbrpNHscNzm9P%2FNuhuYQ7lbdRsjeV7ZGNbExJ0uqln2%2BYqXpa%2F2AwNIHje3eIEU%2FjjqjRTWWPBgqdsHr2PlG7KohSHyKdWth0k0UrJeMwYqlw",
                            "size": 98367931,
                            "validityTime": 1200,
                            "needPay": false,
                            "payInfo": null,
                            "r": 720
                        },
                        "videoGroup": [
                            {
                                "id": 58100,
                                "name": "现场",
                                "alg": null
                            },
                            {
                                "id": 9102,
                                "name": "演唱会",
                                "alg": null
                            },
                            {
                                "id": 59101,
                                "name": "华语现场",
                                "alg": null
                            },
                            {
                                "id": 1100,
                                "name": "音乐现场",
                                "alg": null
                            },
                            {
                                "id": 5100,
                                "name": "音乐",
                                "alg": null
                            }
                        ],
                        "previewUrl": null,
                        "previewDurationms": 0,
                        "hasRelatedGameAd": false,
                        "markTypes": null,
                        "relateSong": [],
                        "relatedInfo": null,
                        "videoUserLiveInfo": null,
                        "vid": "829B0D08CAF49FBF50030F283C7F9E43",
                        "durationms": 278357,
                        "playTime": 578320,
                        "praisedCount": 2477,
                        "praised": false,
                        "subscribed": false
                    }
                },
                {
                    "type": 1,
                    "displayed": false,
                    "alg": "onlineHotGroup",
                    "extAlg": null,
                    "data": {
                        "alg": "onlineHotGroup",
                        "scm": "1.music-video-timeline.video_timeline.video.181017.-295043608",
                        "threadId": "R_VI_62_06C637EB0D5705FC8416DED8FA087E5A",
                        "coverUrl": "https://p2.music.126.net/GLFFz1mzJXtli1AAMxkl9A==/109951163852300990.jpg",
                        "height": 720,
                        "width": 1280,
                        "title": "TFBOYS演唱歌曲《Heart》,满满的回忆！",
                        "description": " TFBOYS演唱歌曲《Heart》,满满的回忆！",
                        "commentCount": 687,
                        "shareCount": 1652,
                        "resolutions": [
                            {
                                "resolution": 240,
                                "size": 26656187
                            },
                            {
                                "resolution": 480,
                                "size": 44398918
                            },
                            {
                                "resolution": 720,
                                "size": 63081781
                            }
                        ],
                        "creator": {
                            "defaultAvatar": false,
                            "province": 110000,
                            "authStatus": 1,
                            "followed": false,
                            "avatarUrl": "http://p1.music.126.net/IQqv5IfJsNCG1GGbKxSJ0Q==/109951167090780307.jpg",
                            "accountStatus": 0,
                            "gender": 1,
                            "city": 110101,
                            "birthday": 965812041369,
                            "userId": 555304231,
                            "userType": 207,
                            "nickname": "娱玖爷",
                            "signature": "娱玖爷，明星八卦！娱乐圈精选优秀资源！好音乐分享！【微博同名】中华小曲库就是我！•_•. 商演合作，新专辑推广请私信！",
                            "description": "",
                            "detailDescription": "",
                            "avatarImgId": 109951167090780300,
                            "backgroundImgId": 109951165395722990,
                            "backgroundUrl": "http://p1.music.126.net/LulOmlCSpzNQKI9xmJYIcg==/109951165395722990.jpg",
                            "authority": 0,
                            "mutual": false,
                            "expertTags": null,
                            "experts": {
                                "1": "音乐视频达人",
                                "2": "生活图文达人"
                            },
                            "djStatus": 10,
                            "vipType": 11,
                            "remarkName": null,
                            "backgroundImgIdStr": "109951165395722990",
                            "avatarImgIdStr": "109951167090780307"
                        },
                        "urlInfo": {
                            "id": "06C637EB0D5705FC8416DED8FA087E5A",
                            "url": "http://vodkgeyttp9.vod.126.net/vodkgeyttp8/lsk4v0uK_2303074288_shd.mp4?ts=1651912569&rid=CD030FAB126B0A8BA93BC93714A31001&rl=3&rs=OlqNheFjTVksmMEvyIqZBgAPyHeiXZuO&sign=7e05a2ac88afc8f2f329b7dbcceb6217&ext=fL9Ryr7Xk7zqsQNShjoANxnVXKdor9o1xp2xQIhwNYnqKFOFuxE6EeyKXfvDMmSYkyhW%2F53twzBrhhUa%2Ff%2BkZW1YyjteqVLm4bnfBbHzhdfkznXSk6qKMG5eq2dRwNlc4fCmPy8vlH7By34aR2xjbrpNHscNzm9P%2FNuhuYQ7lbdRsjeV7ZGNbExJ0uqln2%2BYqXpa%2F2AwNIHje3eIEU%2FjjqjRTWWPBgqdsHr2PlG7KohSHyKdWth0k0UrJeMwYqlw",
                            "size": 63081781,
                            "validityTime": 1200,
                            "needPay": false,
                            "payInfo": null,
                            "r": 720
                        },
                        "videoGroup": [
                            {
                                "id": 58100,
                                "name": "现场",
                                "alg": null
                            },
                            {
                                "id": 11137,
                                "name": "TFBOYS",
                                "alg": null
                            },
                            {
                                "id": 1100,
                                "name": "音乐现场",
                                "alg": null
                            },
                            {
                                "id": 5100,
                                "name": "音乐",
                                "alg": null
                            },
                            {
                                "id": 4101,
                                "name": "娱乐",
                                "alg": null
                            },
                            {
                                "id": 3101,
                                "name": "综艺",
                                "alg": null
                            },
                            {
                                "id": 76108,
                                "name": "综艺片段",
                                "alg": null
                            },
                            {
                                "id": 77102,
                                "name": "内地综艺",
                                "alg": null
                            }
                        ],
                        "previewUrl": null,
                        "previewDurationms": 0,
                        "hasRelatedGameAd": false,
                        "markTypes": null,
                        "relateSong": [],
                        "relatedInfo": null,
                        "videoUserLiveInfo": null,
                        "vid": "06C637EB0D5705FC8416DED8FA087E5A",
                        "durationms": 152138,
                        "playTime": 1565018,
                        "praisedCount": 18002,
                        "praised": false,
                        "subscribed": false
                    }
                },
                {
                    "type": 1,
                    "displayed": false,
                    "alg": "onlineHotGroup",
                    "extAlg": null,
                    "data": {
                        "alg": "onlineHotGroup",
                        "scm": "1.music-video-timeline.video_timeline.video.181017.-295043608",
                        "threadId": "R_VI_62_22CE3C6E5BC2CCD57D57B380431EDEB5",
                        "coverUrl": "https://p2.music.126.net/fAbtbgU-yV7qzn6SKvoXxg==/109951164300571921.jpg",
                        "height": 1080,
                        "width": 1920,
                        "title": "霉霉现场开口脆直到不能自拔的神级现场",
                        "description": "霉霉开口脆直到不能自拔的神级现场\nBack To December 现场",
                        "commentCount": 259,
                        "shareCount": 578,
                        "resolutions": [
                            {
                                "resolution": 240,
                                "size": 33529733
                            },
                            {
                                "resolution": 480,
                                "size": 54461193
                            },
                            {
                                "resolution": 720,
                                "size": 78090351
                            },
                            {
                                "resolution": 1080,
                                "size": 152459231
                            }
                        ],
                        "creator": {
                            "defaultAvatar": false,
                            "province": 1000000,
                            "authStatus": 0,
                            "followed": false,
                            "avatarUrl": "http://p1.music.126.net/VIn97149XgPVlhoK0ynlWg==/109951166123418792.jpg",
                            "accountStatus": 0,
                            "gender": 1,
                            "city": 1004400,
                            "birthday": 966873600000,
                            "userId": 337294427,
                            "userType": 0,
                            "nickname": "ins潮流音乐",
                            "signature": "分享好看的音乐视频，欢迎关注！",
                            "description": "",
                            "detailDescription": "",
                            "avatarImgId": 109951166123418780,
                            "backgroundImgId": 109951164173160200,
                            "backgroundUrl": "http://p1.music.126.net/SzdIQPN7aEpSsebgtsofLw==/109951164173160187.jpg",
                            "authority": 0,
                            "mutual": false,
                            "expertTags": null,
                            "experts": {
                                "1": "音乐视频达人"
                            },
                            "djStatus": 10,
                            "vipType": 11,
                            "remarkName": null,
                            "backgroundImgIdStr": "109951164173160187",
                            "avatarImgIdStr": "109951166123418792"
                        },
                        "urlInfo": {
                            "id": "22CE3C6E5BC2CCD57D57B380431EDEB5",
                            "url": "http://vodkgeyttp9.vod.126.net/vodkgeyttp8/BDOWO6RK_2643070591_uhd.mp4?ts=1651912569&rid=CD030FAB126B0A8BA93BC93714A31001&rl=3&rs=XLpnbUmpSFFITzHchYQGLJPexXQLkvrW&sign=3838ceac005508a56ccba1b001270381&ext=fL9Ryr7Xk7zqsQNShjoANxnVXKdor9o1xp2xQIhwNYnqKFOFuxE6EeyKXfvDMmSYkyhW%2F53twzBrhhUa%2Ff%2BkZW1YyjteqVLm4bnfBbHzhdfkznXSk6qKMG5eq2dRwNlc4fCmPy8vlH7By34aR2xjbrpNHscNzm9P%2FNuhuYQ7lbdRsjeV7ZGNbExJ0uqln2%2BYqXpa%2F2AwNIHje3eIEU%2FjjqjRTWWPBgqdsHr2PlG7KohSHyKdWth0k0UrJeMwYqlw",
                            "size": 152459231,
                            "validityTime": 1200,
                            "needPay": false,
                            "payInfo": null,
                            "r": 1080
                        },
                        "videoGroup": [
                            {
                                "id": 58100,
                                "name": "现场",
                                "alg": null
                            },
                            {
                                "id": 1100,
                                "name": "音乐现场",
                                "alg": null
                            },
                            {
                                "id": 12100,
                                "name": "流行",
                                "alg": null
                            },
                            {
                                "id": 5100,
                                "name": "音乐",
                                "alg": null
                            },
                            {
                                "id": 64100,
                                "name": "Taylor Swift",
                                "alg": null
                            },
                            {
                                "id": 13172,
                                "name": "欧美",
                                "alg": null
                            },
                            {
                                "id": 14137,
                                "name": "感动",
                                "alg": null
                            }
                        ],
                        "previewUrl": null,
                        "previewDurationms": 0,
                        "hasRelatedGameAd": false,
                        "markTypes": null,
                        "relateSong": [
                            {
                                "name": "Back To December",
                                "id": 19293014,
                                "pst": 0,
                                "t": 0,
                                "ar": [
                                    {
                                        "id": 44266,
                                        "name": "Taylor Swift",
                                        "tns": [],
                                        "alias": []
                                    }
                                ],
                                "alia": [],
                                "pop": 100,
                                "st": 0,
                                "rt": "600902000008723946",
                                "fee": 1,
                                "v": 39,
                                "crbt": null,
                                "cf": "",
                                "al": {
                                    "id": 1770441,
                                    "name": "Back To December",
                                    "picUrl": "http://p4.music.126.net/1V5SEzMUWB25_j3R0lvfhw==/6668538023378075.jpg",
                                    "tns": [],
                                    "pic": 6668538023378075
                                },
                                "dt": 294000,
                                "h": {
                                    "br": 320000,
                                    "fid": 0,
                                    "size": 11771919,
                                    "vd": -24700
                                },
                                "m": {
                                    "br": 192000,
                                    "fid": 0,
                                    "size": 7063191,
                                    "vd": -22300
                                },
                                "l": {
                                    "br": 128000,
                                    "fid": 0,
                                    "size": 4708827,
                                    "vd": -20700
                                },
                                "a": null,
                                "cd": "1",
                                "no": 1,
                                "rtUrl": null,
                                "ftype": 0,
                                "rtUrls": [],
                                "djId": 0,
                                "copyright": 0,
                                "s_id": 0,
                                "cp": 7003,
                                "mv": 32561,
                                "rtype": 0,
                                "rurl": null,
                                "mst": 9,
                                "publishTime": 1300550400000,
                                "privilege": {
                                    "id": 19293014,
                                    "fee": 1,
                                    "payed": 0,
                                    "st": 0,
                                    "pl": 0,
                                    "dl": 0,
                                    "sp": 0,
                                    "cp": 1,
                                    "subp": 0,
                                    "cs": false,
                                    "maxbr": 320000,
                                    "fl": 0,
                                    "toast": false,
                                    "flag": 260,
                                    "preSell": false
                                }
                            }
                        ],
                        "relatedInfo": null,
                        "videoUserLiveInfo": null,
                        "vid": "22CE3C6E5BC2CCD57D57B380431EDEB5",
                        "durationms": 348323,
                        "playTime": 257828,
                        "praisedCount": 3767,
                        "praised": false,
                        "subscribed": false
                    }
                },
                {
                    "type": 1,
                    "displayed": false,
                    "alg": "onlineHotGroup",
                    "extAlg": null,
                    "data": {
                        "alg": "onlineHotGroup",
                        "scm": "1.music-video-timeline.video_timeline.video.181017.-295043608",
                        "threadId": "R_VI_62_EECADCC2E8EE86EF22DFEE61E5152C0D",
                        "coverUrl": "https://p2.music.126.net/bE4uB8PZf5AKVuFm_3vrVw==/109951163574072939.jpg",
                        "height": 1080,
                        "width": 1920,
                        "title": "BIGBANG - BANG BANG BANG，现场炸裂！",
                        "description": "要有多强大...才能承受这么嗨的现场！！",
                        "commentCount": 600,
                        "shareCount": 1798,
                        "resolutions": [
                            {
                                "resolution": 240,
                                "size": 42512913
                            },
                            {
                                "resolution": 480,
                                "size": 75433779
                            },
                            {
                                "resolution": 720,
                                "size": 111236461
                            },
                            {
                                "resolution": 1080,
                                "size": 176533817
                            }
                        ],
                        "creator": {
                            "defaultAvatar": false,
                            "province": 110000,
                            "authStatus": 0,
                            "followed": false,
                            "avatarUrl": "http://p1.music.126.net/M2gId22LRR0vpWWSDIQvdQ==/109951163458813116.jpg",
                            "accountStatus": 0,
                            "gender": 2,
                            "city": 110101,
                            "birthday": 916329600000,
                            "userId": 1344968972,
                            "userType": 0,
                            "nickname": "小兔哦哦安利酱",
                            "signature": "喜欢音乐，喜欢现场，也喜欢分享，准备好接受安利了吗~",
                            "description": "",
                            "detailDescription": "",
                            "avatarImgId": 109951163458813120,
                            "backgroundImgId": 109951162868126480,
                            "backgroundUrl": "http://p1.music.126.net/_f8R60U9mZ42sSNvdPn2sQ==/109951162868126486.jpg",
                            "authority": 0,
                            "mutual": false,
                            "expertTags": null,
                            "experts": {
                                "1": "音乐视频达人"
                            },
                            "djStatus": 0,
                            "vipType": 0,
                            "remarkName": null,
                            "backgroundImgIdStr": "109951162868126486",
                            "avatarImgIdStr": "109951163458813116"
                        },
                        "urlInfo": {
                            "id": "EECADCC2E8EE86EF22DFEE61E5152C0D",
                            "url": "http://vodkgeyttp9.vod.126.net/vodkgeyttp8/PQsSiy4V_1835915135_uhd.mp4?ts=1651912569&rid=CD030FAB126B0A8BA93BC93714A31001&rl=3&rs=FNSUDflohtxPkKECcbSTqNaEOkHRsbOY&sign=f0cc261d388502ca68623ab80529ad5a&ext=fL9Ryr7Xk7zqsQNShjoANxnVXKdor9o1xp2xQIhwNYnqKFOFuxE6EeyKXfvDMmSYkyhW%2F53twzBrhhUa%2Ff%2BkZW1YyjteqVLm4bnfBbHzhdfkznXSk6qKMG5eq2dRwNlc4fCmPy8vlH7By34aR2xjbrpNHscNzm9P%2FNuhuYQ7lbdRsjeV7ZGNbExJ0uqln2%2BYqXpa%2F2AwNIHje3eIEU%2FjjqjRTWWPBgqdsHr2PlG7KohSHyKdWth0k0UrJeMwYqlw",
                            "size": 176533817,
                            "validityTime": 1200,
                            "needPay": false,
                            "payInfo": null,
                            "r": 1080
                        },
                        "videoGroup": [
                            {
                                "id": 58100,
                                "name": "现场",
                                "alg": null
                            },
                            {
                                "id": 57107,
                                "name": "韩语现场",
                                "alg": null
                            },
                            {
                                "id": 57108,
                                "name": "流行现场",
                                "alg": null
                            },
                            {
                                "id": 59108,
                                "name": "巡演现场",
                                "alg": null
                            },
                            {
                                "id": 10114,
                                "name": "BIGBANG",
                                "alg": null
                            },
                            {
                                "id": 1100,
                                "name": "音乐现场",
                                "alg": null
                            },
                            {
                                "id": 5100,
                                "name": "音乐",
                                "alg": null
                            }
                        ],
                        "previewUrl": null,
                        "previewDurationms": 0,
                        "hasRelatedGameAd": false,
                        "markTypes": [
                            101,
                            111
                        ],
                        "relateSong": [
                            {
                                "name": "BANG BANG BANG [BIGBANG JAPAN DOME TOUR 2017 -LAST DANCE-]",
                                "id": 544000776,
                                "pst": 0,
                                "t": 0,
                                "ar": [
                                    {
                                        "id": 126339,
                                        "name": "BIGBANG",
                                        "tns": [],
                                        "alias": []
                                    }
                                ],
                                "alia": [],
                                "pop": 80,
                                "st": 0,
                                "rt": null,
                                "fee": 8,
                                "v": 8,
                                "crbt": null,
                                "cf": "",
                                "al": {
                                    "id": 37888128,
                                    "name": "BIGBANG JAPAN DOME TOUR 2017 -LAST DANCE-",
                                    "picUrl": "http://p4.music.126.net/zyAfNZxKyStckW2HFJExFA==/109951163186109980.jpg",
                                    "tns": [],
                                    "pic_str": "109951163186109980",
                                    "pic": 109951163186109980
                                },
                                "dt": 231453,
                                "h": {
                                    "br": 320000,
                                    "fid": 0,
                                    "size": 9260974,
                                    "vd": -65565
                                },
                                "m": {
                                    "br": 192000,
                                    "fid": 0,
                                    "size": 5556602,
                                    "vd": -65565
                                },
                                "l": {
                                    "br": 128000,
                                    "fid": 0,
                                    "size": 3704416,
                                    "vd": -65565
                                },
                                "a": null,
                                "cd": "1",
                                "no": 20,
                                "rtUrl": null,
                                "ftype": 0,
                                "rtUrls": [],
                                "djId": 0,
                                "copyright": 0,
                                "s_id": 0,
                                "cp": 457010,
                                "mv": 0,
                                "rtype": 0,
                                "rurl": null,
                                "mst": 9,
                                "publishTime": 1520956800007,
                                "privilege": {
                                    "id": 544000776,
                                    "fee": 8,
                                    "payed": 0,
                                    "st": 0,
                                    "pl": 128000,
                                    "dl": 0,
                                    "sp": 7,
                                    "cp": 1,
                                    "subp": 1,
                                    "cs": false,
                                    "maxbr": 999000,
                                    "fl": 128000,
                                    "toast": false,
                                    "flag": 261,
                                    "preSell": false
                                }
                            }
                        ],
                        "relatedInfo": null,
                        "videoUserLiveInfo": null,
                        "vid": "EECADCC2E8EE86EF22DFEE61E5152C0D",
                        "durationms": 245691,
                        "playTime": 2254298,
                        "praisedCount": 15330,
                        "praised": false,
                        "subscribed": false
                    }
                },
                {
                    "type": 1,
                    "displayed": false,
                    "alg": "onlineHotGroup",
                    "extAlg": null,
                    "data": {
                        "alg": "onlineHotGroup",
                        "scm": "1.music-video-timeline.video_timeline.video.181017.-295043608",
                        "threadId": "R_VI_62_C6B54E819A11CFCD620633B8D608E0DE",
                        "coverUrl": "https://p2.music.126.net/l4skEipAuYRdY0JHk-XaOA==/109951163773012233.jpg",
                        "height": 720,
                        "width": 1280,
                        "title": "世纪同台～霉霉&贾斯汀比伯合体演唱《 Baby》",
                        "description": "世纪同台～霉霉&贾斯汀比伯合体演唱《 Baby》",
                        "commentCount": 1641,
                        "shareCount": 3015,
                        "resolutions": [
                            {
                                "resolution": 240,
                                "size": 32083604
                            },
                            {
                                "resolution": 480,
                                "size": 53474662
                            },
                            {
                                "resolution": 720,
                                "size": 73638668
                            }
                        ],
                        "creator": {
                            "defaultAvatar": false,
                            "province": 810000,
                            "authStatus": 1,
                            "followed": false,
                            "avatarUrl": "http://p1.music.126.net/8_Lk2mlJ6cBXXc1MuC_NWA==/109951166572296968.jpg",
                            "accountStatus": 0,
                            "gender": 1,
                            "city": 810100,
                            "birthday": 819881776478,
                            "userId": 278675941,
                            "userType": 207,
                            "nickname": "是社长吖",
                            "signature": "",
                            "description": "",
                            "detailDescription": "",
                            "avatarImgId": 109951166572296960,
                            "backgroundImgId": 109951165033094180,
                            "backgroundUrl": "http://p1.music.126.net/he0hpD1trhBU-kfaFs_ouw==/109951165033094184.jpg",
                            "authority": 0,
                            "mutual": false,
                            "expertTags": [
                                "华语"
                            ],
                            "experts": {
                                "1": "音乐视频达人",
                                "2": "娱乐图文达人"
                            },
                            "djStatus": 10,
                            "vipType": 11,
                            "remarkName": null,
                            "backgroundImgIdStr": "109951165033094184",
                            "avatarImgIdStr": "109951166572296968"
                        },
                        "urlInfo": {
                            "id": "C6B54E819A11CFCD620633B8D608E0DE",
                            "url": "http://vodkgeyttp9.vod.126.net/vodkgeyttp8/Ht5ATCn9_2233240787_shd.mp4?ts=1651912569&rid=CD030FAB126B0A8BA93BC93714A31001&rl=3&rs=DGkGqoHTDlHvjRPcAEgNjCmjTOzGhSgr&sign=912e6aae3d9863a9bae3f1f80a8472ed&ext=fL9Ryr7Xk7zqsQNShjoANxnVXKdor9o1xp2xQIhwNYnqKFOFuxE6EeyKXfvDMmSYkyhW%2F53twzBrhhUa%2Ff%2BkZW1YyjteqVLm4bnfBbHzhdfkznXSk6qKMG5eq2dRwNlc4fCmPy8vlH7By34aR2xjbrpNHscNzm9P%2FNuhuYQ7lbdRsjeV7ZGNbExJ0uqln2%2BYqXpa%2F2AwNIHje3eIEU%2FjjqjRTWWPBgqdsHr2PlG7KohSHyKdWth0k0UrJeMwYqlw",
                            "size": 73638668,
                            "validityTime": 1200,
                            "needPay": false,
                            "payInfo": null,
                            "r": 720
                        },
                        "videoGroup": [
                            {
                                "id": 58100,
                                "name": "现场",
                                "alg": null
                            },
                            {
                                "id": 57106,
                                "name": "欧美现场",
                                "alg": null
                            },
                            {
                                "id": 57108,
                                "name": "流行现场",
                                "alg": null
                            },
                            {
                                "id": 57110,
                                "name": "饭拍现场",
                                "alg": null
                            },
                            {
                                "id": 1100,
                                "name": "音乐现场",
                                "alg": null
                            },
                            {
                                "id": 5100,
                                "name": "音乐",
                                "alg": null
                            },
                            {
                                "id": 16224,
                                "name": "Justin Bieber",
                                "alg": null
                            },
                            {
                                "id": 13172,
                                "name": "欧美",
                                "alg": null
                            },
                            {
                                "id": 64100,
                                "name": "Taylor Swift",
                                "alg": null
                            }
                        ],
                        "previewUrl": null,
                        "previewDurationms": 0,
                        "hasRelatedGameAd": false,
                        "markTypes": null,
                        "relateSong": [
                            {
                                "name": "Baby",
                                "id": 18638057,
                                "pst": 0,
                                "t": 0,
                                "ar": [
                                    {
                                        "id": 35531,
                                        "name": "Justin Bieber",
                                        "tns": [],
                                        "alias": []
                                    },
                                    {
                                        "id": 38165,
                                        "name": "Ludacris",
                                        "tns": [],
                                        "alias": []
                                    }
                                ],
                                "alia": [],
                                "pop": 100,
                                "st": 0,
                                "rt": "600902000008749538",
                                "fee": 1,
                                "v": 39,
                                "crbt": null,
                                "cf": "",
                                "al": {
                                    "id": 1709614,
                                    "name": "Baby",
                                    "picUrl": "http://p3.music.126.net/S3Mkc-lfXPgsuUYxqVd4yQ==/710284511552973.jpg",
                                    "tns": [],
                                    "pic": 710284511552973
                                },
                                "dt": 216000,
                                "h": {
                                    "br": 320000,
                                    "fid": 0,
                                    "size": 8667503,
                                    "vd": -54010
                                },
                                "m": {
                                    "br": 192000,
                                    "fid": 0,
                                    "size": 5200532,
                                    "vd": -54010
                                },
                                "l": {
                                    "br": 128000,
                                    "fid": 0,
                                    "size": 3467046,
                                    "vd": -54010
                                },
                                "a": null,
                                "cd": "1",
                                "no": 1,
                                "rtUrl": null,
                                "ftype": 0,
                                "rtUrls": [],
                                "djId": 0,
                                "copyright": 1,
                                "s_id": 0,
                                "cp": 7003,
                                "mv": 334047,
                                "rtype": 0,
                                "rurl": null,
                                "mst": 9,
                                "publishTime": 1263744000007,
                                "privilege": {
                                    "id": 18638057,
                                    "fee": 1,
                                    "payed": 0,
                                    "st": 0,
                                    "pl": 0,
                                    "dl": 0,
                                    "sp": 0,
                                    "cp": 0,
                                    "subp": 0,
                                    "cs": false,
                                    "maxbr": 320000,
                                    "fl": 0,
                                    "toast": false,
                                    "flag": 260,
                                    "preSell": false
                                }
                            }
                        ],
                        "relatedInfo": null,
                        "videoUserLiveInfo": null,
                        "vid": "C6B54E819A11CFCD620633B8D608E0DE",
                        "durationms": 244738,
                        "playTime": 2601079,
                        "praisedCount": 22260,
                        "praised": false,
                        "subscribed": false
                    }
                },
                {
                    "type": 1,
                    "displayed": false,
                    "alg": "onlineHotGroup",
                    "extAlg": null,
                    "data": {
                        "alg": "onlineHotGroup",
                        "scm": "1.music-video-timeline.video_timeline.video.181017.-295043608",
                        "threadId": "R_VI_62_183F7159B2DDA17E558EE0701E1FC522",
                        "coverUrl": "https://p2.music.126.net/6ObE__ZwaJVujdQHDn_ehw==/109951165104526648.jpg",
                        "height": 1080,
                        "width": 1920,
                        "title": "又见邓丽君 微风细雨 王菲",
                        "description": "2013年纪念邓丽君60周年追梦演唱会，王菲唱着这首歌向偶像邓丽君致敬。\n微风吹着浮云，细雨漫漫飘落大地，淋着我，淋着你，淋得世界充满诗意，微风伴着细雨，像我伴着可爱的你，看着我，看着你，看这世界多么美丽，啊，愿我是风你是雨。",
                        "commentCount": 50,
                        "shareCount": 289,
                        "resolutions": [
                            {
                                "resolution": 240,
                                "size": 9724703
                            },
                            {
                                "resolution": 480,
                                "size": 17428610
                            },
                            {
                                "resolution": 720,
                                "size": 25640655
                            },
                            {
                                "resolution": 1080,
                                "size": 35435344
                            }
                        ],
                        "creator": {
                            "defaultAvatar": false,
                            "province": 0,
                            "authStatus": 0,
                            "followed": false,
                            "avatarUrl": "http://p1.music.126.net/SUeqMM8HOIpHv9Nhl9qt9w==/109951165647004069.jpg",
                            "accountStatus": 30,
                            "gender": 0,
                            "city": 100,
                            "birthday": -2209017600000,
                            "userId": 57260898,
                            "userType": 204,
                            "nickname": "帐号已注销",
                            "signature": "",
                            "description": "",
                            "detailDescription": "",
                            "avatarImgId": 109951165647004060,
                            "backgroundImgId": 109951162868128400,
                            "backgroundUrl": "http://p1.music.126.net/2zSNIqTcpHL2jIvU6hG0EA==/109951162868128395.jpg",
                            "authority": 0,
                            "mutual": false,
                            "expertTags": null,
                            "experts": null,
                            "djStatus": 10,
                            "vipType": 0,
                            "remarkName": null,
                            "backgroundImgIdStr": "109951162868128395",
                            "avatarImgIdStr": "109951165647004069"
                        },
                        "urlInfo": {
                            "id": "183F7159B2DDA17E558EE0701E1FC522",
                            "url": "http://vodkgeyttp9.vod.126.net/vodkgeyttp8/saHtGRoA_3046665807_uhd.mp4?ts=1651912569&rid=CD030FAB126B0A8BA93BC93714A31001&rl=3&rs=LiYeoelcMHcbzvkjcuuoCAmKeLsLmJGC&sign=6d567619d4b180fdacfa1aa85ff1905d&ext=fL9Ryr7Xk7zqsQNShjoANxnVXKdor9o1xp2xQIhwNYnqKFOFuxE6EeyKXfvDMmSYkyhW%2F53twzBrhhUa%2Ff%2BkZW1YyjteqVLm4bnfBbHzhdfkznXSk6qKMG5eq2dRwNlc4fCmPy8vlH7By34aR2xjbrpNHscNzm9P%2FNuhuYQ7lbdRsjeV7ZGNbExJ0uqln2%2BYqXpa%2F2AwNIHje3eIEU%2FjjqjRTWWPBgqdsHr2PlG7KohSHyKdWth0k0UrJeMwYqlw",
                            "size": 35435344,
                            "validityTime": 1200,
                            "needPay": false,
                            "payInfo": null,
                            "r": 1080
                        },
                        "videoGroup": [
                            {
                                "id": 58100,
                                "name": "现场",
                                "alg": null
                            },
                            {
                                "id": 59101,
                                "name": "华语现场",
                                "alg": null
                            },
                            {
                                "id": 57108,
                                "name": "流行现场",
                                "alg": null
                            },
                            {
                                "id": 59108,
                                "name": "巡演现场",
                                "alg": null
                            },
                            {
                                "id": 1100,
                                "name": "音乐现场",
                                "alg": null
                            },
                            {
                                "id": 5100,
                                "name": "音乐",
                                "alg": null
                            },
                            {
                                "id": 16127,
                                "name": "王菲",
                                "alg": null
                            }
                        ],
                        "previewUrl": null,
                        "previewDurationms": 0,
                        "hasRelatedGameAd": false,
                        "markTypes": null,
                        "relateSong": [
                            {
                                "name": "微风细雨 (Live)",
                                "id": 26584886,
                                "pst": 0,
                                "t": 0,
                                "ar": [
                                    {
                                        "id": 9621,
                                        "name": "王菲",
                                        "tns": [],
                                        "alias": []
                                    }
                                ],
                                "alia": [],
                                "pop": 100,
                                "st": 0,
                                "rt": "",
                                "fee": 0,
                                "v": 44,
                                "crbt": null,
                                "cf": "",
                                "al": {
                                    "id": 2529126,
                                    "name": "邓丽君60周年纪念演唱会 (王菲篇)",
                                    "picUrl": "http://p3.music.126.net/EQ1Hz29saSTFN8HXKFPaiw==/109951163266918585.jpg",
                                    "tns": [],
                                    "pic_str": "109951163266918585",
                                    "pic": 109951163266918600
                                },
                                "dt": 201377,
                                "h": {
                                    "br": 320000,
                                    "fid": 0,
                                    "size": 8057252,
                                    "vd": -23752
                                },
                                "m": {
                                    "br": 192000,
                                    "fid": 0,
                                    "size": 4834369,
                                    "vd": -23752
                                },
                                "l": {
                                    "br": 128000,
                                    "fid": 0,
                                    "size": 3222927,
                                    "vd": -23752
                                },
                                "a": null,
                                "cd": "1",
                                "no": 3,
                                "rtUrl": null,
                                "ftype": 0,
                                "rtUrls": [],
                                "djId": 0,
                                "copyright": 2,
                                "s_id": 0,
                                "cp": 0,
                                "mv": 0,
                                "rtype": 0,
                                "rurl": null,
                                "mst": 9,
                                "publishTime": 1370016000006,
                                "privilege": {
                                    "id": 26584886,
                                    "fee": 0,
                                    "payed": 0,
                                    "st": 0,
                                    "pl": 320000,
                                    "dl": 999000,
                                    "sp": 7,
                                    "cp": 1,
                                    "subp": 1,
                                    "cs": false,
                                    "maxbr": 999000,
                                    "fl": 320000,
                                    "toast": false,
                                    "flag": 128,
                                    "preSell": false
                                }
                            }
                        ],
                        "relatedInfo": null,
                        "videoUserLiveInfo": null,
                        "vid": "183F7159B2DDA17E558EE0701E1FC522",
                        "durationms": 132075,
                        "playTime": 165912,
                        "praisedCount": 848,
                        "praised": false,
                        "subscribed": false
                    }
                }
                ];
        let videoList = this.data.videoList;
        videoList.push(...newVideoList);
        this.setData({
            videoList
        })
    },


    /**
     * 生命周期函数--监听页面初次渲染完成
     */
    onReady: function () {

    },

    /**
     * 生命周期函数--监听页面显示
     */
    onShow: function () {

    },

    /**
     * 生命周期函数--监听页面隐藏
     */
    onHide: function () {

    },

    /**
     * 生命周期函数--监听页面卸载
     */
    onUnload: function () {

    },

    /**
     * 页面相关事件处理函数--监听用户下拉动作
     */
    onPullDownRefresh: function () {
        console.log('下拉动作');
    },

    /**
     * 页面上拉触底事件的处理函数
     */
    onReachBottom: function () {
        console.log('上拉');

    },

    /**
     * 用户点击右上角分享
     */
    onShareAppMessage: function ({from}) {
        console.log(from);
        if(from === 'button'){
            return {
                title:'来自button的转发内容',
                page:'/pages/video/video',
                imageUrl:'/static/images/nvsheng.jpg'
            }
        }else{
            return {
                title:'来自menu的转发内容',
                page:'/pages/video/video',
                imageUrl:'/static/images/nvsheng.jpg'
            }
        }

    }
})